package d4;

public class KeyBoard {
    private String name;
    public void  connect(){
        System.out.println("鼠标设备连接了");
    }
    public void  click(){
        System.out.println("鼠标点击了");
    }
    public KeyBoard (String name){
        this.name=name;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
